package com.alpha.aorj.ritravel;

import com.alpha.cpojo.realife.User;
import com.alpha.cresult.realife.Result;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @version V1.0
 * @author: Albert
 * @date: 2020/4/15 14:47
 * @description:
 */
public interface UserService {

    String userRegistry(User user);

    Result activeUser(Integer uid, String code);

    Result userLogin(String email, String password, String check, String deviceId, HttpServletResponse response, HttpServletRequest request);

    Result test1(Integer id);

    Result pageQueryMyFavorite(Integer pageNum, Integer pageSize);

    Result downloaderWeiBoResource(String url, String dest);
}
